#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QString>
#include <articlestruct.h>
typedef QVector<QString> SList;

namespace Ui {
    class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();

private:
    Ui::Widget *ui;

private slots:
    void sTest();
    void sConnect();
    void sInsert();
    void sCreateTable();
    void sWriteXML();
    void sReadXML();
    void sShow();
    void sModelToList();

private:
    ArticleStruct artStruct;

};

#endif // WIDGET_H
